#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
@author:jidi
@file:portal_fatory.py
@time:2022/08/15
"""
from homework.litemall.api.portal_http_api import PortalHttpApi
from homework.litemall.model.session import Session


class PortalFactory:
    @classmethod
    def create(cls, session: Session):
        return PortalHttpApi(session)